package tk.uodrad.apex.project.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import tk.uodrad.apex.project.pojo.entity.Complaint;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import tk.uodrad.apex.project.pojo.vo.ActivityListVO;
import tk.uodrad.apex.project.pojo.vo.ComplainListVO;
import tk.uodrad.apex.project.pojo.vo.ComplaintDashboardVO;

import java.util.List;

/**
* @author Administrator
* @description 针对表【complaint_management】的数据库操作Mapper
* @createDate 2023-04-08 16:58:52
* @Entity tk.uodrad.apex.project.pojo.entity.Complaint
*/
public interface ComplaintMapper extends BaseMapper<Complaint> {

    /**
     * 自定义分页查询
     * @param page IPage对象
     * @param communityCode 小区编号
     * */
    IPage<ComplainListVO> selectPageVO(IPage<?> page, String communityCode);

    List<ComplaintDashboardVO> selectDashboard();

}




